package cmdbcloudaccess

import "dfx_cmdb/models"

type CloudAccess struct {
	models.Models
	Type          string `gorm:"size:32" json:"type"`
	Platform      string `gorm:"size:32" json:"platform"`
	Platform_Name string `gorm:"size:32" json:"platform_name"`
	Account       string `gorm:"size:64" json:"account"`
	Password      string `gorm:"size:64" json:"password"`
	Token         string `gorm:"size:64" json:"token"`
	Accesskey     string `gorm:"size:64" json:"accesskey"`
	Accesssecret  string `gorm:"size:64" json:"accesssecret"`
	Comment       string `gorm:"size:64" json:"comment"`
	Endpoint      string `gorm:"size:64" json:"endpoint"`
}

func (CloudAccess) TableName() string {
	return "cmdb_cloud_access"
}
